﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MES.Server.Entities
{
    [SugarTable(TableName = "material_class_type")]
    public class MaterialClassEntity
    {
        [SugarColumn(ColumnName = "item_type_id", IsPrimaryKey = true, IsIdentity = true)]
        public int ItemTypeId { get; set; }
        [SugarColumn(ColumnName = "item_type_code")]
        public string ItemTypeCode { get; set; }
        [SugarColumn(ColumnName = "item_type_name")]
        public string ItemTypeName { get; set; }
        [SugarColumn(ColumnName = "parent_type_id")]
        public int ParentTypeId { get; set; }
        [SugarColumn(ColumnName = "ancestors")]
        public string Ancestors { get; set; }
        [SugarColumn(ColumnName = "item_or_product")]
        public string ItemOrProduct { get; set; }
        [SugarColumn(ColumnName = "order_num")]
        public int OrderNum { get; set; }
        [SugarColumn(ColumnName = "enable_flag")]
        public bool EnableFlag { get; set; }
        [SugarColumn(ColumnName = "remark")]
        public string Remark { get; set; }
        public string attr1 { get; set; }
        public string attr2 { get; set; }
        public int attr3 { get; set; }
        public int attr4 { get; set; }
        [SugarColumn(ColumnName = "create_by")]
        public string CreateBy { get; set; }
        [SugarColumn(ColumnName = "create_time")]
        public DateTime CreateTime { get; set; }
        [SugarColumn(ColumnName = "update_by")]
        public string UpdateBy { get; set; }
        [SugarColumn(ColumnName = "update_time")]
        public DateTime UpdateTime { get; set; }
    }
}
